package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_CapitalClaimSon", catalog="Id")
public class TcwCapitalClaimSon extends BaseEntity<TcwCapitalClaimSon> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="CapitalRegisterClaimId", nameJava="capitalRegisterClaimId", typeDataBase="bigint")
	private Long capitalRegisterClaimId;
	@YsField(nameDataBase="OperateCompanyBankInfoId", nameJava="operateCompanyBankInfoId", typeDataBase="bigint")
	private Long operateCompanyBankInfoId;
	@YsField(nameDataBase="PaymentTime", nameJava="paymentTime", typeDataBase="varchar")
	private String paymentTime;
	@YsField(nameDataBase="PaymentAmount", nameJava="paymentAmount", typeDataBase="decimal")
	private BigDecimal paymentAmount;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="RegisterTime", nameJava="registerTime", typeDataBase="datetime")
	private Date registerTime;
	@YsField(nameDataBase="RegisterAmount", nameJava="registerAmount", typeDataBase="decimal")
	private BigDecimal registerAmount;
	@YsField(nameDataBase="Vjylx", nameJava="vjylx", typeDataBase="varchar")
	private String vjylx;
	@YsField(nameDataBase="AnnexFile", nameJava="annexFile", typeDataBase="varchar")
	private String annexFile;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwCapitalClaimSon setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TcwCapitalClaimSon setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public Long getCapitalRegisterClaimId() {
		return capitalRegisterClaimId;
	}
	public TcwCapitalClaimSon setCapitalRegisterClaimId(Long capitalRegisterClaimId) {
		this.capitalRegisterClaimId = capitalRegisterClaimId;
		return this;
	}
	public Long getOperateCompanyBankInfoId() {
		return operateCompanyBankInfoId;
	}
	public TcwCapitalClaimSon setOperateCompanyBankInfoId(Long operateCompanyBankInfoId) {
		this.operateCompanyBankInfoId = operateCompanyBankInfoId;
		return this;
	}
	public String getPaymentTime() {
		return paymentTime;
	}
	public TcwCapitalClaimSon setPaymentTime(String paymentTime) {
		this.paymentTime = paymentTime;
		return this;
	}
	public BigDecimal getPaymentAmount() {
		return paymentAmount;
	}
	public TcwCapitalClaimSon setPaymentAmount(BigDecimal paymentAmount) {
		this.paymentAmount = paymentAmount;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TcwCapitalClaimSon setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Date getRegisterTime() {
		return registerTime;
	}
	public TcwCapitalClaimSon setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
		return this;
	}
	public BigDecimal getRegisterAmount() {
		return registerAmount;
	}
	public TcwCapitalClaimSon setRegisterAmount(BigDecimal registerAmount) {
		this.registerAmount = registerAmount;
		return this;
	}
	public String getVjylx() {
		return vjylx;
	}
	public TcwCapitalClaimSon setVjylx(String vjylx) {
		this.vjylx = vjylx;
		return this;
	}
	public String getAnnexFile() {
		return annexFile;
	}
	public TcwCapitalClaimSon setAnnexFile(String annexFile) {
		this.annexFile = annexFile;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwCapitalClaimSon setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwCapitalClaimSon setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwCapitalClaimSon setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwCapitalClaimSon tcwCapitalClaimSon(
		String pbid,
		Long capitalRegisterClaimId,
		Long operateCompanyBankInfoId,
		String paymentTime,
		BigDecimal paymentAmount,
		String remark,
		Date registerTime,
		BigDecimal registerAmount,
		String vjylx,
		String annexFile,
		Integer status
			) {
		TcwCapitalClaimSon entity = new TcwCapitalClaimSon();
		entity.setPbid(pbid);
		entity.setCapitalRegisterClaimId(capitalRegisterClaimId);
		entity.setOperateCompanyBankInfoId(operateCompanyBankInfoId);
		entity.setPaymentTime(paymentTime);
		entity.setPaymentAmount(paymentAmount);
		entity.setRemark(remark);
		entity.setRegisterTime(registerTime);
		entity.setRegisterAmount(registerAmount);
		entity.setVjylx(vjylx);
		entity.setAnnexFile(annexFile);
		entity.setStatus(status);
		return entity;
	}
}